<%@ Page Language="C#" MasterPageFile="~/NiSis.Master" AutoEventWireup="true" CodeBehind="Consolidamento.aspx.cs" Inherits="NiSis.Consolidamento" Title="Untitled Page" %>

<%@ Register Src="UserControls/MeseAnnoPicker.ascx" TagName="MeseAnnoPicker" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <asp:Label ID="lblTitle" Text="Consolidamento" BackColor="#666666" BorderColor="#E6E2D8" Font-Bold="True" Font-Size="0.9em" ForeColor="White" Width="751px" runat="server" />
     <p></p>
    <uc1:MeseAnnoPicker ID="MeseAnnoPicker1" runat="server" />
    <asp:ImageButton ID="cmdISelectShipper" runat="server" Height="19px" ImageUrl="~/Img/refresh.png"
        OnClick="cmdSelectShipper_Click" ToolTip="Agiunge trader alla catena" Width="22px" /><br />
    <br />
    <asp:Label ID="lblSTitle" Text= "Elenco utenze da consolidare" runat="server" Font-Bold="True" Visible="False" />
     <p></p>
    <asp:GridView ID="grdConsolida" Visible="false" runat="server" AutoGenerateColumns="False" CellPadding="4"
        ForeColor="#333333" GridLines="None">
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <Columns>
            <asp:BoundField DataField="CdPool" HeaderText="Pool" />
            <asp:BoundField DataField="CdStoricoMensileRete" HeaderText="Mese" />
            <asp:BoundField DataField="DsCliente" HeaderText="Utenza" />
            <asp:BoundField DataField="RagioneSociale" HeaderText="New shipper" />
        </Columns>
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#999999" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <EmptyDataTemplate>
            Tutti i dati sono stati consolidati  
        </EmptyDataTemplate>
    </asp:GridView>
    <asp:Button ID="cmdConsolidate" runat="server" OnClick="cmdConsolidate_Click" Text="Consolida utenze" Visible="False" /><br />
    <asp:Panel ID="PnlSuccess" runat="server" Visible="false">
            <asp:Image ImageUrl="~/Img/Ok.png" ID="imgOk" runat="server" Height="24px" Width="24px" />
            <asp:Label Text="Associazione salvata con successo" ID="lblOk" runat="server" /> 
            <asp:Button ID="cmdOk" runat="server"  Text="Ok" OnClick="cmdOk_Click" />  
        </asp:Panel>

</asp:Content>
